package com.bridge.common.bean;

/**
 * @ClassName Loginbean
 * @Description TODO消息
 * @Author biekangdong
 * @CreateDate 2021/5/13 17:08
 * @Version 1.0
 * @UpdateDate 2021/5/13 17:08
 * @UpdateRemark 更新说明
 */
public class Loginbean {

    /**
     * msg : null
     * code : 200
     * success : true
     * data : {"expireTime":1620897230775,"isAdmin":0,"token":{"access_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOlsiY2std2VjaGF0IiwiY2tfd2ViIl0sInVzZXJfbmFtZSI6ImFkbWluIiwic2NvcGUiOlsiUk9MRV9BRE1JTiIsIlJPTEVfVVNFUiIsIlJPTEVfQVBJIl0sImV4cCI6MTYyMDk2MDk1MCwiYXV0aG9yaXRpZXMiOlsiUk9MRV9BRE1JTiIsIlJPTEVfVVNFUiJdLCJqdGkiOiI1NTJiYTdjOC0yMWI3LTRjNTktYmY4My04YzE3MmNmMTBmMzEiLCJjbGllbnRfaWQiOiJjay13ZWIifQ.Ioq1BhW7nnHGT8TNxDrvx6qfkGhALnjzcxDWTjLGhw8","token_type":"bearer","refresh_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOlsiY2std2VjaGF0IiwiY2tfd2ViIl0sInVzZXJfbmFtZSI6ImFkbWluIiwic2NvcGUiOlsiUk9MRV9BRE1JTiIsIlJPTEVfVVNFUiIsIlJPTEVfQVBJIl0sImF0aSI6IjU1MmJhN2M4LTIxYjctNGM1OS1iZjgzLThjMTcyY2YxMGYzMSIsImV4cCI6MTY1MjQzMjE1MCwiYXV0aG9yaXRpZXMiOlsiUk9MRV9BRE1JTiIsIlJPTEVfVVNFUiJdLCJqdGkiOiIwZWI2NTc5ZC1iMTA2LTRmYzEtOGEzNC0zOWUwOTFmM2FkZDYiLCJjbGllbnRfaWQiOiJjay13ZWIifQ.AttO7pOdFviDIqIGvOf35tnTWyFdtA3PZhn40_0sosI","expires_in":64798,"scope":"ROLE_ADMIN ROLE_API ROLE_USER","jti":"552ba7c8-21b7-4c59-bf83-8c172cf10f31"}}
     */

    private String msg;
    private int code;
    private boolean success;
    /**
     * expireTime : 1620897230775
     * isAdmin : 0
     * token : {"access_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOlsiY2std2VjaGF0IiwiY2tfd2ViIl0sInVzZXJfbmFtZSI6ImFkbWluIiwic2NvcGUiOlsiUk9MRV9BRE1JTiIsIlJPTEVfVVNFUiIsIlJPTEVfQVBJIl0sImV4cCI6MTYyMDk2MDk1MCwiYXV0aG9yaXRpZXMiOlsiUk9MRV9BRE1JTiIsIlJPTEVfVVNFUiJdLCJqdGkiOiI1NTJiYTdjOC0yMWI3LTRjNTktYmY4My04YzE3MmNmMTBmMzEiLCJjbGllbnRfaWQiOiJjay13ZWIifQ.Ioq1BhW7nnHGT8TNxDrvx6qfkGhALnjzcxDWTjLGhw8","token_type":"bearer","refresh_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOlsiY2std2VjaGF0IiwiY2tfd2ViIl0sInVzZXJfbmFtZSI6ImFkbWluIiwic2NvcGUiOlsiUk9MRV9BRE1JTiIsIlJPTEVfVVNFUiIsIlJPTEVfQVBJIl0sImF0aSI6IjU1MmJhN2M4LTIxYjctNGM1OS1iZjgzLThjMTcyY2YxMGYzMSIsImV4cCI6MTY1MjQzMjE1MCwiYXV0aG9yaXRpZXMiOlsiUk9MRV9BRE1JTiIsIlJPTEVfVVNFUiJdLCJqdGkiOiIwZWI2NTc5ZC1iMTA2LTRmYzEtOGEzNC0zOWUwOTFmM2FkZDYiLCJjbGllbnRfaWQiOiJjay13ZWIifQ.AttO7pOdFviDIqIGvOf35tnTWyFdtA3PZhn40_0sosI","expires_in":64798,"scope":"ROLE_ADMIN ROLE_API ROLE_USER","jti":"552ba7c8-21b7-4c59-bf83-8c172cf10f31"}
     */

    private DataBean data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private long expireTime;
        private int isAdmin;
        /**
         * access_token : eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOlsiY2std2VjaGF0IiwiY2tfd2ViIl0sInVzZXJfbmFtZSI6ImFkbWluIiwic2NvcGUiOlsiUk9MRV9BRE1JTiIsIlJPTEVfVVNFUiIsIlJPTEVfQVBJIl0sImV4cCI6MTYyMDk2MDk1MCwiYXV0aG9yaXRpZXMiOlsiUk9MRV9BRE1JTiIsIlJPTEVfVVNFUiJdLCJqdGkiOiI1NTJiYTdjOC0yMWI3LTRjNTktYmY4My04YzE3MmNmMTBmMzEiLCJjbGllbnRfaWQiOiJjay13ZWIifQ.Ioq1BhW7nnHGT8TNxDrvx6qfkGhALnjzcxDWTjLGhw8
         * token_type : bearer
         * refresh_token : eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOlsiY2std2VjaGF0IiwiY2tfd2ViIl0sInVzZXJfbmFtZSI6ImFkbWluIiwic2NvcGUiOlsiUk9MRV9BRE1JTiIsIlJPTEVfVVNFUiIsIlJPTEVfQVBJIl0sImF0aSI6IjU1MmJhN2M4LTIxYjctNGM1OS1iZjgzLThjMTcyY2YxMGYzMSIsImV4cCI6MTY1MjQzMjE1MCwiYXV0aG9yaXRpZXMiOlsiUk9MRV9BRE1JTiIsIlJPTEVfVVNFUiJdLCJqdGkiOiIwZWI2NTc5ZC1iMTA2LTRmYzEtOGEzNC0zOWUwOTFmM2FkZDYiLCJjbGllbnRfaWQiOiJjay13ZWIifQ.AttO7pOdFviDIqIGvOf35tnTWyFdtA3PZhn40_0sosI
         * expires_in : 64798
         * scope : ROLE_ADMIN ROLE_API ROLE_USER
         * jti : 552ba7c8-21b7-4c59-bf83-8c172cf10f31
         */

        private TokenBean token;

        public long getExpireTime() {
            return expireTime;
        }

        public void setExpireTime(long expireTime) {
            this.expireTime = expireTime;
        }

        public int getIsAdmin() {
            return isAdmin;
        }

        public void setIsAdmin(int isAdmin) {
            this.isAdmin = isAdmin;
        }

        public TokenBean getToken() {
            return token;
        }

        public void setToken(TokenBean token) {
            this.token = token;
        }

        public static class TokenBean {
            private String access_token;
            private String token_type;
            private String refresh_token;
            private int expires_in;
            private String scope;
            private String jti;

            public String getAccess_token() {
                return access_token;
            }

            public void setAccess_token(String access_token) {
                this.access_token = access_token;
            }

            public String getToken_type() {
                return token_type;
            }

            public void setToken_type(String token_type) {
                this.token_type = token_type;
            }

            public String getRefresh_token() {
                return refresh_token;
            }

            public void setRefresh_token(String refresh_token) {
                this.refresh_token = refresh_token;
            }

            public int getExpires_in() {
                return expires_in;
            }

            public void setExpires_in(int expires_in) {
                this.expires_in = expires_in;
            }

            public String getScope() {
                return scope;
            }

            public void setScope(String scope) {
                this.scope = scope;
            }

            public String getJti() {
                return jti;
            }

            public void setJti(String jti) {
                this.jti = jti;
            }
        }
    }
}
